﻿<UserControl x:Class="personalplaner.gui.settings.views.WorkTimesSettingsView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:c="clr-namespace:personalplaner.common.controls;assembly=personalplaner.common"
             mc:Ignorable="d" >
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="300"/>
        </Grid.ColumnDefinitions>
        
        <GroupBox Header="Zeiten">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition/>
                    <RowDefinition/>
                    <RowDefinition/>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"/>
                    <ColumnDefinition />
                </Grid.ColumnDefinitions>

                <TextBlock Text="Arbeitsstunden pro Tag" Margin="0,0,10,0"/>
                <c:NumericTextBox Grid.Column="1" Text="{Binding WorkTimePerDay}"/>

                <TextBlock Text="Arbeitsstunden pro Woche" Grid.Row="1" Margin="0,0,10,0"/>
                <c:NumericTextBox Grid.Row="1" Grid.Column="1" Text="{Binding WorkTimePerWeek}"/>

                <TextBlock Text="Ferientage pro Jahrs" Grid.Row="2" Margin="0,0,10,0"/>
                <c:NumericTextBox Grid.Row="2" Grid.Column="1" Text="{Binding HolydaysPerYear}"/>

            </Grid>
        </GroupBox>

        <!--<GroupBox Header="Drucken" Grid.Row="1">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition/>
                    <RowDefinition/>
                    <RowDefinition/>
                </Grid.RowDefinitions>

                <CheckBox IsChecked="{Binding PrintSaldoDifference}" >
                    <TextBlock Text="Differenz / Saldo andrucken"/>
                </CheckBox>

                <CheckBox Grid.Row="1" IsChecked="{Binding PrintSoll}">
                    <TextBlock Text="Soll andrucken"/>
                </CheckBox>

                <CheckBox Grid.Row="2" IsChecked="{Binding PrintHaben}">
                    <TextBlock Text="Haben andrucken"/>
                </CheckBox>

            </Grid>
        </GroupBox>-->
    </Grid>
</UserControl>
